/**
 * Copyright &copy; 2016-2017 <a href="http://git.oschina.net/whoamien/backend_management">Backend Management</a> All rights reserved.
 */
package com.xw.app.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.xw.app.model.GeneratorConfig;
import com.xw.framework.base.dao.BaseDAO;

/**
 * The Interface GeneratorConfigDAO.
 *
 * @author Xi Wei
 */
@Repository
public interface GeneratorConfigDAO extends BaseDAO<GeneratorConfig, Long> {

	/**
	 * Find by config name and id not.
	 *
	 * @param configName the config name
	 * @param id the id
	 * @return the list
	 */
	public List<GeneratorConfig> findByConfigNameAndIdNot(String configName,Long id);
	
	/**
	 * Find by config name.
	 *
	 * @param configName the config name
	 * @return the list
	 */
	public List<GeneratorConfig> findByConfigName(String configName);
}
